﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QuanLyGiaoVuDAL.DTO;

namespace QuanLyGiaoVuDAL.Repositories.DatabaseRepositories
{
    public interface IBanTinRepository
    {
        BanTinDTO GetBanTinById(Guid banTinID);
        IEnumerable<BanTinDTO> GetAllBanTin();
        IEnumerable<BanTinDTO> GetTopNumbersBanTin(int topNumber, int quyentruycap);
        IEnumerable<BanTinDTO> GetTopNumbersBanTin2(int topNumber);
        BanTinDTO InsertBanTin(BanTinDTO banTinDTO);
        BanTinDTO UpdateBanTin(BanTinDTO banTinDTO);        
        bool DeleteBanTin(Guid banTinID);
    }
}
